package cn.waxcc.service.impl;

import cn.waxcc.mapper.BsDoctorMapper;
import cn.waxcc.pojo.BsDoctor;
import cn.waxcc.service.BsDoctorService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 功能说明
 *
 * @author HZ
 * @date 2023-04-06 10:45:29
 */
@Service
public class BsDoctorServiceImpl implements BsDoctorService {
    @Autowired
    private BsDoctorMapper bsDoctorMapper;
    @Override
    public List<BsDoctor> queryalldoc() {
        List<BsDoctor> queryalldoc = bsDoctorMapper.queryalldoc();
        return  queryalldoc;
    }

    @Override
    public List<BsDoctor> ByIdInfo(int doctorId) {
        return bsDoctorMapper.ByIdInfo(doctorId);
    }
}
